//
//  HubuQueryViewController.h
//  iHubu2
//
//  Created by hanshui on 12-10-31.
//  Copyright (c) 2012年 hanshui. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface HubuQueryViewController : UIViewController
<UITableViewDataSource, UITableViewDelegate>{
    NSString *resultTotal;
    NSMutableArray *bookListArray;
    NSMutableArray *bookObjectArray;
    NSString *logInfo;
    int currentPage;
    
    NSString *keywords1;
    UITableView *searchListTableView;
}

@property (nonatomic, retain) NSString *resultTotal;
@property (nonatomic, retain) NSString *keywords1;
@property (nonatomic) int currentPage;
@property (nonatomic, retain) IBOutlet UITableView *searchListTableView;
@property (nonatomic, retain) IBOutlet UILabel *resultTotalLabel;
@property (nonatomic, retain) IBOutlet UIActivityIndicatorView *waitingView;
@property (nonatomic, retain) IBOutlet UILabel *notDataReturnLabel;

+ (NSString *)replaceUnicode:(NSString *)unicodeStr;
- (void) clearHTMLData2Array:(NSString *) sourceCode; //获取每本图书信息
- (void) bookList2BookObject; //将图书信息变成对象

-(void) showSearchListInfo:(NSString *) keywords;
-(IBAction)backClick:(id)sender;
-(IBAction)nextPageClick:(id)sender;
@end
